<?php require_once('../../core/import.php');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=8" />
 	<script type="text/javascript" src="../../scripts/import.js"></script>
    <script type="text/javascript" src="../../scripts/components/checkbox/import.checkbox.js"></script>
    <script type="text/javascript">
        //该脚本仅用于演示，具体使用时归入.js文件中。
        window.addEvent('load',function()
        {
            //全选
            $('SelectAll').addEvent('click',function(){
                Checkbox.SelectAll('ID');
            });

            //全选
            $('UnSelectAll').addEvent('click',function(){
                Checkbox.UnSelectAll('ID');
            });
        });
    </script>
</head>

<body>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="1" />
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="2"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="3"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="4"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="5"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="6"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="7"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="8"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="9"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="10"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="11"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="12"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="13"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="14"/>
    <input name="ID" type="checkbox" value="" class="Cursor_Pointer" value="15"/>
    <br/>
    <span id="SelectAll" class="Cursor_Pointer">全选</span>/<span id="UnSelectAll" class="Cursor_Pointer">全不选</span>
</body>
</html>